/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kasgroup1;

/**
 *
 * @author Róar Terjason Hansen
 */
public class Attendee {
    
    private Hotel hotel;
    
    private hotelRoom room;
    
    private String name;
    private String lastName;
    private String country;
    private String city;
    private String address;
    private String companyName;
    private String birthDate;
    private String departure;
    private String arrival;
    
    private String attendeePhone;
    private String companyPhone;
    
    private boolean lecturer;
    
  
     public Attendee(String p_name, String p_lastName, String p_country, String p_city, String p_address, String p_companyName, String p_birthDate, String p_attendeePhone, String p_departure, String p_arrival, String p_companyPhone)
            {
                room = null;
                name = p_name;
                lastName = p_lastName;
                country = p_country;
                city = p_city;
                address = p_address;
                companyName = p_companyName;
                birthDate = p_birthDate;
                attendeePhone = p_attendeePhone;
                departure = p_departure;
                arrival = p_arrival;
                companyPhone = p_companyPhone;
                lecturer = false;
            }
            
            public String getName()
            {
                return name;
            }
            
            public String getLastName()
            {
                return lastName;
            }
            
            public String getCountry()
            {
                return country;
            }
            
            public String getCity()
            {
                return city;
            }
            
            public String getDetails()
            {
                return "Name : " + name + " Phone nr: " + attendeePhone + " D.O.B : " + birthDate + " City : " + city;
            }
            
            public String getAddress()
            {
                return address;
            }
            public String toString(){
                return name + " " + lastName;
            }
            
            public String getCompanyName()
            {
                return companyName;
            }
            
            public String getBirthDate()
            {
                return birthDate;
            }
            
            public String getDeparture()
            {
                return departure;
            }
            
            public String getArrival()
            {
                return arrival;
            }
            
            public String getPhoneNr()
            {
                return attendeePhone;
            }
            
            public String getWorkPhoneNr()
            {
                return companyPhone;
            }
}
